package com.glink.manage.dto.vehicle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

@ApiModel(value = "VehicleAddDTO对象", description = "新增车辆和特种设备信息DTO")
@Data
public class VehicleAddDTO {

    @ApiModelProperty(value = "牌照号（车牌号）", example = "晋A-88888")
    private String licensePlate;

    @ApiModelProperty(value = "车主", example = "张三")
    private String owner;

    @ApiModelProperty(value = "所属单位", example = "公司1")
    private String organization;

    @ApiModelProperty(value = "类型", example = "车辆或特种机械设备")
    @Size(max = 10, message = "类型不能超过10个字符")
    private String type;

    @ApiModelProperty(value = "车辆或特种设备外观照片", example = "外观照片（多个字符串，以逗号分隔）")
    private String appearancePhoto;

    @ApiModelProperty(value = "身份证件照片", example = "证件图片（多个字符串，以逗号分隔）")
    private String document;  // IP地址


}
